package com.lwc.cfdns.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lwc.cfdns.pojo.bo.monitor.OperLogBO;
import com.lwc.cfdns.pojo.entity.SystemOperLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * @author spring
 * @description 针对表【cfdns_system_oper_log(操作日志记录)】的数据库操作Service
 * @createDate 2023-08-02 16:17:15
 */
public interface SystemOperLogService extends IService<SystemOperLog> {
    /**
     * 创建
     *
     * @param systemOperLog
     * @return void
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/8/2 16:20:15
     */
    void create(SystemOperLog systemOperLog);

    /**
     * 列表
     *
     * @param operLogBO
     * @return IPage<SystemOperLog>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/8/2 21:55:53
     */
    IPage<SystemOperLog> lists(OperLogBO operLogBO);

    /**
     * 删除
     *
     * @param ids
     * @return Map<String, Object>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/8/2 22:00:14
     */
    Map<String, Object> delete(String ids);

    /**
     * 清空日志
     *
     * @param
     * @return Map<String, Object>
     * @throws
     * @version 1.0.0
     * @author luwc
     * @time 2023/8/2 22:02:34
     */
    Map<String, Object> clear();

}
